package com.ctshk.rpc.order.custom.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 保险旅客参保详情
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-04
 */
@Data
@TableName("t_customized_order_insurance_price_tourist")
@ApiModel(value="CustomizedOrderInsurancePriceTourist对象", description="保险旅客参保详情")
public class CustomizedOrderInsurancePriceTourist implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "保险购买记录id")
    private Long insuranceId;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "团期id")
    private Long scheduleId;

    @ApiModelProperty(value = "旅客id")
    private Long touristId;

    @ApiModelProperty(value = "旅客类型主数据id")
    private Long touristTypeId;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "英文姓")
    private String enSurname;

    @ApiModelProperty(value = "英文名")
    private String enName;

    @ApiModelProperty(value = "生日")
    private LocalDate birthday;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "性别。1：男，2：女")
    private Integer sex;

    @ApiModelProperty(value = "证件类型id")
    private Long certificateTypeId;

    @ApiModelProperty(value = "证件号码")
    private String certificateNumber;
}
